package cn.flying.cloud.oauth.server.configuration.constant;

/**
 * @description: 系统常量定义
 * @author: admin
 * @date: 2022年04月02日 21:39
 * @version: 1.0
 */
public class Constant {

    /**
     * 手机号正则
     */
    public static final String MOBILE_REGEX = "^1[3-9]\\d{9}$";
    /**
     * 邮箱正则
     */
    public static final String EMAIL_REGEX = "^[\\w!#$%&'*+/=?`{|}~^-]+(?:\\.[\\w!#$%&'*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,6}$";

}
